// flex布局
.flex {
	display: flex;
}

.flex-b {
	display: flex;
	justify-content: space-between;
}

.flex-c {
	display: flex;
	align-items: center;
}

.flex-bc {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.flex-cc {
	display: flex;
	justify-content: center;
	align-items: center;
}

.flex-ccc {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.flex-cb {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.flex-cbc {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
}

.flex-e {
	display: flex;
	justify-content: flex-end;
}

.flex-ec {
	display: flex;
	justify-content: flex-end;
	align-items: center;
}

.flex-1 {
	flex: 1;
	overflow: hidden;
}

.flex-align {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
}

.flex-wrap {
	display: flex;
	flex-wrap: wrap;
}

.m-20 {
	margin: 20px
}

.mt-20 {
	margin-top: 10px
}

.mr-20 {
	margin-right: 20px;
}

.ml-20 {
	margin-left: 20px;
}

.mb-20 {
	margin-bottom: 20px;
}

.mrl-20 {
	margin: 0 20px;
}

.mtb-20 {
	margin: 20px 0;
}

.p-20 {
	padding: 20px;
}

.pt-20 {
	padding-top: 20px
}

.pr-20 {
	padding-right: 20px;
}

.pl-20 {
	padding-left: 20px;
}

.pb-20 {
	padding-bottom: 20px;
}

.prl-20 {
	padding: 0 20px;
}

.ptb-20 {
	padding: 20px 0;
}

// 单行溢出
.line-clamp {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

// 横向滚动
.scroll-x {
	display: flex;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;

	&::-webkit-scrollbar {
		display: none;
	}
}

// 置顶
.top-fixed {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 99;
}

// 置底
.bottom-fixed {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 99;
}

// 悬浮页
.all-fixed {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 99;
}

// 清除浮动
.clearfix:after {
	visibility: hidden;
	display: block;
	font-size: 0;
	content: ' ';
	clear: both;
	height: 0;
}

// 吸顶
.stickytop {
	position: sticky !important;
	top: 0;
	z-index: 50;
}

// 置底按钮盒子
.button-end {
	padding: 20rpx 64rpx;
	box-sizing: border-box;
	width: 100%;
	background-color: #fff;
	box-shadow: 0 0 14rpx 0 rgba(0, 0, 0, 0.06);
}

textarea,
.textarea {
	height: 245rpx;
	background: #fafafa;
	border-radius: 10rpx;
	width: 100%;
	font-size: 30rpx;
	padding: 25rpx 30rpx 0;
	box-sizing: border-box;
}

//白色背景
.white-main,
.white {
	// position: relative;
	background-color: #fff;
	padding: 20px;
	min-height: calc(100% - 50px);
	border-radius: 0 0 12px 12px;
}
.content-main {
	padding: 20px;
	min-height: calc(100% - 50px);
	border-radius: 0 0 12px 12px;
}

.hide {
	display: none;
}

//标题蓝色盒子
.subtitle {
	display: flex;
	align-self: center;
	margin-right: 4px;
	background-color: #165DFF;
	border-radius: 12px;
	width: 4px;
	height: 16px;
}

.right-icon {
	width: 12rpx;
	height: 20rpx;
}

.tabbar-item {
	line-height: 1.2;
	font-size: 24rpx;
}

.tabbar-item-img {
	width: 44rpx !important;
	height: 22rpx !important;
}

.end-bottom {
	width: 191rpx;
	height: 20rpx;
	display: block;
	margin: 50rpx auto;
}

.page {
	padding: 0 30rpx;
}

.diy-title {
	display: flex;
	align-items: center;
	font-size: 14px;
	color: #1D2129;

	&::before {
		content: "";
		display: block;
		width: 4px;
		height: 16px;
		background-color: var(--el-color-primary);
		border-radius: 4px;
		margin-right: 4px;
	}
}

.el-pagination .el-select .el-input {
	max-width: 100px;
}

.el-pagination.is-background .el-pager li {
	border: 1px solid #C9CDD4;
	box-sizing: border-box;
}

.el-pagination.is-background .btn-next.is-last,
.el-pagination.is-background .btn-prev,
.el-pager+button.btn-next[type=button] {
	border: 1px solid #C9CDD4;
	border-radius: 6px !important;
}

.el-pagination.is-background .el-pager li:not(.is-disabled):hover,
.el-pagination.is-background .btn-next:hover:not([disabled]),
.el-pagination.is-background .btn-prev:hover:not([disabled]) {
	border: 1px solid var(--el-pagination-hover-color);
}

.el-pagination.is-background .el-pager li.is-active {
	border: 1px solid var(--el-pagination-hover-color);
}

.el-pagination.is-background .el-pager li,
.btn-next {
	border-radius: 6px !important;
}

.el-select-v2__wrapper.is-focused .el-select-v2__placeholder.is-transparent {
	color: var(--el-input-text-color, var(--el-text-color-regular)) !important;
}

.el-cascader__tags .el-tag:not(.is-hit) {
	color: #1D2129;
	border: 1px solid #E5E6EB !important;
	margin-top: 0;
	margin-bottom: 0;
}

.el-tag {
	padding: 3px 6px !important;
}

.el-popconfirm__action {
	text-align: center !important;
}

.tableBtn {
	&::after {
		display: block;
		content: "";
		width: 0;
		height: max-content;
		border-right: 1px solid #0054FE;
	}
}

//padding

@for $i from 1 to 50 {
	.p-#{$i} {
		padding: #{$i}px;
	}
}

@for $i from 1 to 50 {
	.pt-#{$i} {
		padding-top: #{$i}px;
	}
}

@for $i from 1 to 30 {
	.pb-#{$i} {
		padding-bottom: #{$i}px;
	}
}

@for $i from 1 to 50 {
	.pl-#{$i} {
		padding-left: #{$i}px;
	}
}

@for $i from 1 to 50 {
	.pr-#{$i} {
		padding-right: #{$i}px;
	}
}

@for $i from 1 to 50 {
	.plr-#{$i} {
		padding: 0 #{$i}px;
	}
}

@for $i from 1 to 50 {
	.ptb-#{$i} {
		padding: #{$i}px 0;
	}
}

//margin

@for $i from 1 to 50 {
	.m-#{$i} {
		margin: #{$i}px;
	}
}

@for $i from 1 to 50 {
	.mt-#{$i} {
		margin-top: #{$i}px;
	}
}

@for $i from 1 to 50 {
	.mb-#{$i} {
		margin-bottom: #{$i}px;
	}
}

@for $i from 1 to 30 {
	.ml-#{$i} {
		margin-left: #{$i}px;
	}
}

@for $i from 1 to 30 {
	.mr-#{$i} {
		margin-right: #{$i}px;
	}
}

@for $i from 1 to 50 {
	.mlr-#{$i} {
		margin: 0 #{$i}px;
	}
}

@for $i from 1 to 50 {
	.mtb-#{$i} {
		margin: #{$i}px 0;
	}
}


//虚线分割条
.dashedBar{
	border: 1px dashed #e5e6eb;
}

.solidBar {
	border: 1px solid #F2F3F5;
}



.diy-title-green {
	display: flex;
	align-items: center;
	font-size: 14px;
	color: #1D2129;

	&::before {
		content: "";
		display: block;
		width: 4px;
		height: 16px;
		background-color: #00B42A;
		border-radius: 4px;
		margin-right: 4px;
	}
}